﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ExcelFileQueryTool
{
    public partial class frmWaiting : Form
    {
        public frmWaiting(Control parent, string note)
        {
            InitializeComponent();

            //var ls = parent.Left;
            //var ts = parent.Top;
            //var w = parent.Width;
            //var h = parent.Height;

            //this.Left = ls + w / 2;
            //this.Top = ts + h / 2;

            if (string.IsNullOrEmpty(note))
                note = "正在处理，请稍后……";

            lblNote.Text = note;
        }
    }
}
